package hr_project.hr.biz.Archives;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import hr_project.hr.dao.emp.IArchivesDao;
import hr_project.hr.entity.Archives;
import hr_project.hr.util.QueryArchives;
import hr_project.hr.util.pagebean;

@Service
public class ArchivesBizImpl implements IArchivesBiz {

	

	@Autowired
	private IArchivesDao dao;
	
	public IArchivesDao getDao() {
		return dao;
	}

	public void setDao(IArchivesDao dao) {
		this.dao = dao;
	}


	@Override
	public void addArchives(Archives arc) {
		// TODO Auto-generated method stub
          dao.addArchives(arc);
	}

	@Override
	public void modArchives(Archives arc) {
		// TODO Auto-generated method stub
        dao.modArchives(arc);
	}

	@Override
	public Archives getByid(long id) {
		// TODO Auto-generated method stub
		return dao.getByid(id);
	}

}
